class ImagenTagLib {

    def foto = { attrs ->
        def id = attrs.idEmpleado
        out << "<img src='"
        out << g.createLink(action:'muestraFoto',
            controller:'empleado',id:id)
        out << "' alt='${id}' />"
    }

}
